package com.code.day01.overload;
import java.util.Scanner;

/**
 * spring 底层
 */
public class Demooverload {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
    }
    public static void sum(int a, int b){
        int sum = a + b;
        System.out.println(sum);
    }

    public static void sum(int a, int b, int c){
        int sum = a + b + c;
        System.out.println(sum);
    }

    public static void sum(int a, int b, int c, int d){
        int sum = a + b + c + d;
        System.out.println(sum);
    }
}
